package com.tjbklx1.thread.chap02.practise05.ext2;

public class Test {

	public static void main(String[] args) {

		Point p1 = new Point(0, 0);
		Point p2 = new Point(10, 10);
		Line line = new Line(p1, p2);
		System.out.println(line);
		p1.x=100;
		p2.x=200;
		System.out.println(line);
	}
}
